package com.demohomework.homeworkdemo.pojo;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.time.LocalDateTime;
@Data
// 班级实体类
public class Class {

    // 记录的唯一标识符
    @NotNull(groups = {Add.class, Update.class})
    private int id;

    //学生id
    private String stuId;
    // 课程id
    private String couId;
    public interface Add{

    }

    public  interface   Update{

    }
}

